home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Hacking & Misc / MacTCP Tracer.sit / MacTCP Tracerƒ / Documentation next >
Text File  |  1995-11-06  |  7KB  |  84 lines

  1. MacTCP Tracer
  2. Written by Andreas Pizsa.
  3. Sponsored by Networx.
  4. Freeware.
  5.  
  6. What is MacTCP Tracer?
  7. MacTCP Tracer logs the status of MacTCP connections and can be used as a companion to Peter Lewis' MacTCP Watchter. Unlike MacTCP Watcher, MacTCP Tracer writes the connection status of TCP/IP streams to a console window so you can see who connected to your Mac.
  8.  
  9. I started MacTCP Tracer when I read a posting in alt.bbs.first-class from someone who wanted to know who logged into his FirstClass® Server over the Internet. I also use MacTCP Tracer to test the robustness of my self-developed MacTCP Library (yet another… *:ô) ), so you may see more features in the future.
  10.  
  11. Please note: MacTCP tracer is a quick hack that I did in my spare time (just a few hours of work). Although I tested it for almost two days on my machine (Quadra 840av running System 7.5 and MacTCP 2.0.6) and didn’t notice crashes caused by it, I can not guarantee that MacTCP Tracer will also work on your machine. Please see "Disclaimer" and "Warranty" below. Don’t blame me…
  12.  
  13. Comments and suggestions welcome, flames ignored.
  14.  
  15. Installation
  16. To install MacTCP Tracer, simply copy it to one of your hard disks and start it.
  17.  
  18. Using MacTCP Tracer
  19. MacTCP Tracer will open a console window and display status information for up to 64 (MacTCP’s maximum) connections.
  20.  
  21. MacTCP Tracer will generate output similar to the following:
  22.  
  23. [11/06/1995 16:22:35] MacTCP:  Outgoing (06) 194.96.7.65 2050 198.133.37.10 3004 <unknown> <unknown> 
  24. [11/06/1995 16:23:05] MacTCP:  Outgoing (06) 194.96.7.65 1490 129.116.16.140 7124 gargravarr.cc.utexas.edu. <unknown> 
  25. [11/06/1995 16:23:12] MacTCP:  Connected (08) 194.96.7.65 1490 129.116.16.140 7124 gargravarr.cc.utexas.edu. <unknown> 
  26. [11/06/1995 16:23:26] MacTCP:  Closed (00) 194.96.7.65 2050 198.133.37.10 3004 <unknown> <unknown> 
  27. [11/06/1995 16:23:26] MacTCP:  Closed (00) 194.96.7.65 1490 129.116.16.140 7124 gargravarr.cc.utexas.edu. <unknown> 
  28. [11/06/1995 16:23:32] MacTCP:  Connected (08) 194.96.7.65 1937 193.80.248.21 3000 magnet.at. mail.magnet.at. 
  29. [11/06/1995 16:24:08] MacTCP:  Outgoing (06) 194.96.7.65 1489 130.43.2.3 21 bric-a-brac.apple.com. colossus.apple.com. 
  30. [11/06/1995 16:24:22] MacTCP:  Closed (00) 194.96.7.65 1489 130.43.2.3 21 bric-a-brac.apple.com. apple.com. 
  31. [11/06/1995 16:24:22] MacTCP:  Listening (02) 194.96.7.65 7 0.0.0.0 <Any> <unknown> <unknown> 
  32. [11/06/1995 16:24:27] MacTCP:  Outgoing (06) 194.96.7.65 1761 130.43.2.3 7 bric-a-brac.apple.com. guardian.apple.com. 
  33. [11/06/1995 16:24:30] MacTCP:  Connected (08) 194.96.7.65 1761 130.43.2.3 7 bric-a-brac.apple.com. colossus.apple.com. 
  34. [11/06/1995 16:24:36] MacTCP:  Closing (10) 194.96.7.65 1761 130.43.2.3 7 bric-a-brac.apple.com. apple.com. 
  35. [11/06/1995 16:24:39] MacTCP:  Closed (12) 194.96.7.65 1761 130.43.2.3 7 bric-a-brac.apple.com. guardian.apple.com. 
  36. 11/06/1995 16:25:39] MacTCP:  Closing (20) 194.96.7.65 1761 130.43.2.3 7 bric-a-brac.apple.com. colossus.apple.com. 
  37. [11/06/1995 16:25:42] MacTCP:  Closed (00) 194.96.7.65 1761 130.43.2.3 7 bric-a-brac.apple.com. apple.com. 
  38. [11/06/1995 16:25:42] MacTCP:  Closed (00) 194.96.7.65 1105 198.133.37.11 80 <unknown> <unknown> 
  39. [11/06/1995 16:25:58] MacTCP:  Outgoing (06) 194.96.7.65 1106 17.254.3.61 80 <unknown> <unknown> 
  40. [11/06/1995 16:26:01] MacTCP:  Connected (08) 194.96.7.65 1106 17.254.3.61 80 <unknown> <unknown> 
  41. [11/06/1995 16:27:40] MacTCP:  Closed (00) 194.96.7.65 1026 204.96.16.4 21 grinch.austin.apple.com. grinch.austin.apple.com. 
  42. [11/06/1995 16:27:51] MacTCP:  Closed (00) 194.96.7.65 1937 193.80.248.21 3000 magnet.at. relay1.austria.eu.net. 
  43. [11/06/1995 16:27:51] MacTCP:  Closed (00) 194.96.7.65 1106 17.254.3.61 80 <unknown> <unknown> 
  44. [11/06/1995 16:27:51] MacTCP:  Closed (00) 194.96.7.65 1107 17.254.3.64 80 <unknown> <unknown> 
  45. [11/06/1995 16:27:51] MacTCP:  Closed (00) 194.96.7.65 1108 17.254.3.61 80 <unknown> <unknown> 
  46. [11/06/1995 16:27:58] MacTCP:  Closed (00) 194.96.7.65 1505 130.95.1.150 21 redback.cs.uwa.oz.au. <unknown> 
  47. [11/06/1995 16:28:04] MacTCP:  Closed (00) 194.96.7.65 1874 128.214.248.6 21 nic.funet.fi. pobox.csc.fi. 
  48. [11/06/1995 16:28:07] MacTCP:  Closed (00) 194.96.7.65 7 0.0.0.0 <Any> <unknown> <unknown> 
  49.  
  50. Columns:
  51.  
  52. 1. Date & Time in the format [mm/dd/yyyy HH:MM:SS]
  53. 2. always "MacTCP:"
  54. 3. Status Text
  55. 4. Status ID
  56. 5. local IP address
  57. 6. local por number
  58. 7. remote IP address
  59. 8. remote port number
  60. 9. remote machine domain name
  61. 10. mail domain of the remote machine (actually the result of an MX-entry DNS lookup, for the techies)
  62.  
  63. Columns are separated by spaces (ASCII 32), although this may change  in future versions. If you want to analyize the log, expect that fields are separated by whitespace (space=ASCII 32 or TAB=ASCII 9).
  64.  
  65. Future Enhancements
  66. I plan to include the following features if I find the time, have nothing better to do *:ô) and if enough people find MacTCP Tracer useful.
  67.  
  68. • Write the log entries to the FirstClass Server console window
  69. • Lock out unwanted callers by IP address or domain name
  70. • Trace only incoming connections
  71. • better user interface
  72.  
  73. Disclaimer
  74. Andreas Pizsa and Networx GmbH ("Networx") hereby disclaim all warranties relating to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose.  Andreas Pizsa and Networx GmbH will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if Andreas Pizsa or Networx have been advised of the possibility of such damages.  In no event shall Andreas Pizsa or Networx be liable for any damages, regardless of the form of the claim.  The person using the software bears all risk as to the quality and performance of the software.
  75.  
  76. This program is Freeware, you can use it or distribute it as long as you don’t charge for it and include this document.
  77.  
  78. Warranty
  79. Forget it *:ô) There is absolutely no warranty for MacTCP Tracer. Simply suppose it doesn’t work on any machine, doesn’t have any useful features, can crash your machine, destroy your data, format your hard drive, burn your modem, etc. Now go for it *:ô) ! If it turns out that it really does anything useful - that’s great for you. Let me know if this is the case by sending me an e-mail (piz@networx.co.at)
  80.  
  81. Acknowledgements
  82. Thanx go to Networx for paying me while writing "useless" software like this and for paying the time I spend on various online services.
  83.  
  84. Parts of the code are © 1995 Metrowerks.